/**
 * 处罚类型
 */
export enum PenaltyTypeEnum {
  /**
   * 黄牌
   */
  YELLOW = "yellow",

  /**
   * 红牌
   */
  RED = "red"
}

/**
 * 赛事组别
 */
export enum RaceGroupEnum {
  /**
   * 成人赛事
   */
  ADULT = "adult",

  /**
   * 青年赛事
   */
  YOUTH = "youth"
}

/**
 * 赛事阶段
 */
export enum RaceStageEnum {
  /**
  * 小组赛
  */
  GROUP = "group",

  /**
   * 排位赛
   */
  QUALIFYING = "qualifying"
}

/**
 * 数据统计
 */
export enum RaceStatisticsEnum {
  /**
   * 积分榜
   */
  SCOREBOARD_LIST = "scoreboard.list",

  /**
   * 射手榜
   */
  TOP_SCORER_LIST = "top.scorer.list",

  /**
   * 红黄牌榜
   */
  PENALTY_LIST = "penalty.list",

  /**
   * 助攻榜
   */
  ASSIST_LIST = "assist.list"
}

/**
 * 赛事状态
 */
export enum RaceStatusEnum {
  /**
   * 待发布
   */
  PENDING = "pending",

  /**
   * 已发布
   */
  PUBLISHED = "published",

  /**
   * 报名中
   */
  REGISTER = "register",

  /**
   * 比赛中
   */
  RACE = "race",

  /**
   * 已结束
   */
  FINISH = "finish"
}

/**
 * 赛事赛制
 */
export enum RaceSystemEnum {
  /**
   * 5人制
   */
  FIVE = "five",

  /**
   * 8人制
   */
  EIGHT = "eight",

  /**
   * 11人制
   */
  ELEVEN = "eleven"
}

/**
 * 赛事类型
 */
export enum RaceTypeEnum {
  /**
   * 联赛
   */
  LEAGUE = "league",

  /**
   * 杯赛
   */
  CUP = "cup"
}

/**
 * 赛事规则
 */
export enum RankRuleEnum {
  /**
   * 球队积分
   */
  TEAM_SCORES = "team.scores",

  /**
   * 总净胜球数量
   */
  TOTAL_GOAL_DIFFERENCE = "total.goal.difference",

  /**
   * 总进球数量
   */
  TOTAL_GOAL = "total.goal",

  /**
   * 相互之间胜负关系（同积分）
   */
  INTER_OUTCOME = "inter.outcome",

  /**
   * 相互之间净胜球数量
   */
  INTER_TOTAL_GOAL_DIFFERENCE = "inter.total.goal.difference",

  /**
   * 相互之间进球数量
   */
  INTER_TOTAL_GOAL = "inter.total.goal",

  /**
   * 红牌数
   */
  RED_COUNT = "red.count",

  /**
   * 黄牌数
   */
  YELLOW_COUNT = "yellow.count"
}

/**
 * 单场比赛阶段
 */
export enum SinglePeriodTypeEnum {
  /**
   * 常规赛时间
   */
  REGULAR_TIME = "regular",

  /**
   * 点球大战
   */
  PENALTY_KICK = "penalty.kick"
}

/**
 * 球队成员角色
 */
export enum TeamMemberRoleEnum {
  /**
   * 球员
   */
  PLAYER = "player",

  /**
   * 领队
   */
  CAPTAIN = "captain",

  /**
   * 主教练
   */
  HEAD_COACH = "head.coach",

  /**
   * 助理教练
   */
  ASSISTANT_COACH = "assistant.coach",

  /**
   * 队务
   */
  TEAM_AFFAIRS = "team.affairs",

  /**
   * 队医
   */
  TEAM_DOCTOR = "team.doctor",

  /**
   * 翻译
   */
  TRANSLATOR = "translator",

  /**
   * 技术分析员
   */
  TECHNICAL_ANALYST = "technical.analyst"
}

/**
 * 报名信息
 */
export enum RegisterInfoEnum {
  /**
   * 姓名
   */
  ID_NAME = "id.name",

  /**
   * 性别
   */
  GENDER = "gender",

  /**
   * 联系方式
   */
  PHONE_NUMBER = 'phone.number', // 联系方式

  /**
   * 国籍
   */
  NATIONALITY = "nationality",

  /**
   * 身份证号
   */
  ID_NUMBER = "id.number",

  /**
   * 身高
   */
  HEIGHT = "height",

  /**
   * 体重
   */
  WEIGHT = "weight",

  /**
   * 球员号码
   */
  PLAYER_NUMBER = "player.number",

  /**
   * 证件照
   */
  ID_PHOTO = "id.photo",

  /**
   * 身份证正反面
   */
  ID_CARD_PHOTO = "id.card.photo",

  /**
   * 户口本页
   */
  ACCOUNT_PAGE_PHOTO = "account.page.photo",

  /**
   * 所在学校/工作单位
   */
  CURRENT_EMPLOYER = "current.employer",

  /**
   * 职位
   */
  POSITION = "position",

  /**
   * 学籍号
   */
  STUDENT_NUMBER = "student.number",

  /**
   * 教练证
   */
  COACH_CARD_PHOTO = "coach.card.photo",

  /**
  * 体检证明
  */
  HEALTH_CERTIFICATE = "health.certificate",
}

/**
 * 球队信息枚举
 */
export enum TeamInfoEnum {
  /**
   * 球队名称
   */
  TEAM_NAME = "team.name",

  /**
   * 球队简称
   */
  TEAM_SHORT_NAME = "team.short.name",

  /**
   * 球队logo
   */
  TEAM_LOGO = "team.logo",

  /**
   * 球队合照
   */
  TEAM_PHOTO = "team.photo",

  /**
   * 球队简介
   */
  TEAM_BRIEF = "team.brief",
}

/**
 * 球队附件枚举
 */
export enum TeamAttachmentEnum {
  /**
   * 参赛承诺书
   */
  ENTRY_COMMITMENT = "entry.commitment",

  /**
   * 参赛保险
   */
  ENTRY_INSURANCE = "entry.insurance",
}


/**
 * 球队报名状态
 */
export enum RegisterStatus {
  PENDING = "pending",
  COMPLETED = 'completed',
}

/**
 * 球队审核状态
 */
export enum AuditStatus {
  PENDING = "pending",
  COMPLETED = 'completed',
  FAILURE = 'failure'
}

/**
 * 小组赛形式
 */
export enum RaceGroupStageTypeEnum {
  /**
   * 单循环比赛
   */
  SIGNLE_CYCLE = "signle.cycle",

  /**
   * 双循环
   */
  DOUBLE_CYCLE = "double.cycle",
}

/**
 * 赛事阶段
 */
export enum RaceStageTypeEnum {
  /**
   * 小组赛
   */
  GROUP = "group",

  /**
   * 排位赛
   */
  QUALIFIER = "qualifier",
}

/**
 * 赛程配置角色
 */
export enum AttestationRoleEnum {
  MATCH_SUPERVISION = "match.supervision",	// 比赛监督
  JUDGE_SUPERVISION = "judge.supervision",	// 裁判监督
  JUDGE = "judge",	// 裁判员
  FIRST_JUDGE_ASSISTEANT = "first.judge.assistant",	// 第一裁判助理
  SECOND_JUDGE_ASSISTEANT = "second.judge.assistant",	// 第二裁判助理
  FOURTH_OFFICIAL = "fourth.official",	// 第四官员
}

/**
 * 球员状态
 */
export enum PlayerStatusEnum {
  /**
   * 首发
   */
  STARTER = "starter",
  /**
   * 替补
   */
  SUBSTITUTE = "substitute",

  /**
   * 停赛
   */
  SUSPEND = "suspend",
}

/**
 * 停赛状态
 */
export enum SuspendStatusEnum {

  /**
   * 正常
   */
  ACTIVE = "active",

  /**
   * 停赛
   */
  SUSPEND = "suspend",
}

/**
 * 比赛数据状态
 */
export enum RaceEventTypeEnum {

  /**
   * 进球
   */
  GOAL = "goal",

  /**
   * 点球
   */
  PENALTY = 'penalty',

  /**
   * 乌龙球
   */
  OWN_GOAL = "own.goal",

  /**
   * 黄牌
   */
  YELLOW_CARD = "yellow.card",

  /**
   * 红牌
   */
  RED_CARD = "red.card",

  /**
   * 球员换上
   */
  PLAYER_UP = "player.up",

  /**
   * 球员换下
   */
  PLAYER_DOWN = "player.down",

  /**
   * 球点球决胜
   */
  PENALTY_KICK = 'player.kick',

  /**
   * 点球罚进
   */
  PENALTY_GOAL = "penalty.goal",

  /**
   * 点球罚失
   */
  PENALTY_MISSED = "penalty.missed",
}
